#pragma once

#include "NFServerComm/NFServerCommon/NFIDescStore.h"
#include "NFServerComm/NFServerCommon/NFIDescTemplate.h"
#include "NFLogicCommon/NFDescStoreTypeDefines.h"
#include "E_Mail.nanopb.h"
#define MAX_MAIL_MAIL_NUM 16

class MailMailDesc : public NFIDescTemplate<MailMailDesc, E_MailMail, EOT_CONST_MAIL_MAIL_DESC_ID, MAX_MAIL_MAIL_NUM>
{
public:
	MailMailDesc();
	virtual ~MailMailDesc();
	int CreateInit();
	int ResumeInit();
public:
	virtual int Load(NFResDb *pDB) override;
	virtual int CheckWhenAllDataLoaded() override;
};
